package org.oc.qaq.service;

import org.oc.qaq.config.OnlyOfficeConfig;
import org.springframework.http.ResponseEntity;

import java.io.IOException;
import java.util.Map;

public interface OnlyOfficeService {
    OnlyOfficeConfig LoadConfig(String fileId);

    ResponseEntity<Map<String, Object>> callback(Map<String, Object> data) throws IOException;
}
